/*************************************************
* tiger Header File                              *
* Modifications (C) 2007 Llew goodstadt          *
*************************************************/

#ifndef ENCRYPT_TIGER_H__
#define ENCRYPT_TIGER_H__

#include <string>
#include "digest_n.h"
#include "cryptopp/tiger.h"

#include <algorithm>
#include <iostream>
#include <iterator>
using namespace std;

namespace encryption {
/*************************************************
* Tiger                                          *
*************************************************/
class tiger
	{
    CryptoPP::Tiger crypttiger;

    public:
		void operator()(const std::string& in, t_digest_N<6>& digest)
        {
            crypttiger.CalculateDigest((byte*)(&digest.digest), (byte*)(in.data()), in.length());
        }


	};

}


#endif


